<?
if($modul == "home" || $modul == ""){
	$color_home_ft = 'class = "active_footer"';
	$color_tintuc_ft = '';
	$color_gioithieu_ft = '';
	$color_chinhsach_ft = '';
	$color_huongdan_mh = '';
	$color_huongdan_tt = '';
	$color_lienHe_ft = '';
}elseif($modul == "tintuc"){
	$color_home_ft = '';
	$color_tintuc_ft = 'class = "active_footer"';
	$color_gioithieu_ft = '';
	$color_chinhsach_ft = '';
	$color_huongdan_mh = '';
	$color_huongdan_tt = '';
	$color_lienHe_ft = '';
}elseif($modul == "gioithieu"){
	$color_home_ft = '';
	$color_tintuc_ft = '';
	$color_gioithieu_ft = 'class = "active_footer"';
	$color_chinhsach_ft = '';
	$color_huongdan_mh = '';
	$color_huongdan_tt = '';
	$color_lienHe_ft = '';
}elseif($modul == "chinhsach"){
	$color_home_ft = '';
	$color_tintuc_ft = '';
	$color_gioithieu_ft = '';
	$color_chinhsach_ft = 'class = "active_footer"';
	$color_huongdan_mh = '';
	$color_huongdan_tt = '';
	$color_lienHe_ft = '';
}elseif($modul == "huongdan"){
	$id = CM_getParameter("id");
	if($id == 1){
		$color_home_ft = '';
		$color_tintuc_ft = '';
		$color_gioithieu_ft = '';
		$color_chinhsach_ft = '';
		$color_huongdan_mh = 'class = "active_footer"';
		$color_huongdan_tt = '';
		$color_lienHe_ft = '';
	}else{
		$color_home_ft = '';
		$color_tintuc_ft = '';
		$color_gioithieu_ft = '';
		$color_chinhsach_ft = '';
		$color_huongdan_mh = '';
		$color_huongdan_tt = 'class = "active_footer"';
		$color_lienHe_ft = '';
	}
}elseif($modul == "lienHe"){
	$color_home_ft = '';
	$color_tintuc_ft = '';
	$color_gioithieu_ft = '';
	$color_chinhsach_ft = '';
	$color_huongdan_mh = '';
	$color_huongdan_tt = '';
	$color_lienHe_ft = 'class = "active_footer"';
	
}
global $db;
include_once(DIR_MODEL."md_setting_web.class.php");
$objModel = new MD_SettingWeb($db);
$arrayDataSettingWeb = $objModel->getByWhere("*","");

?>
<hr style="border-bottom:0.1em solid #FF0000" />
<p align="center">
	<a href="?modul=home&action=List" <?=$color_home_ft?>>
	Trang chủ</a>  |  <a href="?modul=tintuc&action=List" <?=$color_tintuc_ft?>>
	Tin tức</a>  |  <a href="?modul=gioithieu&action=View&id=1" <?=$color_gioithieu_ft?>>
	Giới thiệu</a>  |  <a href="?modul=chinhsach&action=View&id=1" <?=$color_chinhsach_ft?>>
	Chính sách bảo hành</a>  |  <a href="?modul=huongdan&action=View&id=1" <?=$color_huongdan_mh?>>
	Hướng dẫn mua hàng</a>  |  <a href="?modul=huongdan&action=View&id=2" <?=$color_huongdan_tt?>>
	Hướng dẫn thanh toán</a>  |  <a href="?modul=lienHe&action=View" style="border-width:0px; " <?=$color_lienHe_ft?>>
	Liên hệ</a>
	</p>
<img src="../images/bt.gif" />
<table border="0" cellpadding="0" cellspacing="5px" width="100%" style="font-size:11px">
	<tr>
    	<td><strong>Đơn vị chủ quản:</strong></td>
        <td><?=$arrayDataSettingWeb[0]['don_vi_cq']?></td>
        <td><strong>VPGD:</strong></td>
        <td><?=$arrayDataSettingWeb[0]['vpgd']?></td>
    </tr>
    <tr>
    	<td><strong>Địa chỉ:</strong></td>
        <td><?=$arrayDataSettingWeb[0]['dia_chi']?></td>
        <td><strong>Email:</strong></td>
        <td><?=$arrayDataSettingWeb[0]['mail_bql']?></td>
    </tr>
    <tr>
    	<td><strong>Điện thoại:</strong></td>
        <td><?=$arrayDataSettingWeb[0]['dien_thoai']?></td>
        <td><strong>Số giấy phép:</strong></td>
        <td><?=$arrayDataSettingWeb[0]['so_giay_phep']?></td>
    </tr>
    <tr>
    	<td><strong>Mã số thuế:</strong></td>
        <td><?=$arrayDataSettingWeb[0]['ma_so_thue']?></td>
        <td><strong>Số tài khoản:</strong></td>
        <td><?=$arrayDataSettingWeb[0]['so_tk']?></td>
    </tr>
</table>